import request from "@/utils/request";

const CareHis_BASE_URL = "/api/v1/CareHis";

const CareOrder_BASE_URL = "/api/v1/CareOrder";

class CareHisAPI {
  /**
  * 获取用户分页列表
  *
  * @param queryParams 查询参数
  */
  static getPage(queryParams: CareHisQuery) {
    return request<any, PageResult<CareList[]>>({
      url: `${CareHis_BASE_URL}/page`,
      method: "get",
      params: queryParams,
    });
  }
}



export default CareHisAPI;



export interface CareHisQuery extends PageQuery {
  regId: string;
}


//病例表
export interface CareList {
  chId: string;

  regId: string;

  userName: string;

  deptName: string;

  patientName: string;

  careDate: string;

  caseTitle: string;

  caseResult: string;

  doctorTips: string;
}


